<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Login.jsp</title>
    <%--<script>--%>
        <%--var nameMsg = document.getElementById("nameMsg");--%>
        <%--var pwdMsg = document.getElementById("pwdMsg");--%>
        <%----%>
    <%--</script>--%>
</head>
<body>
<h1>Login.jsp</h1>
<form action="/LoginServer/userlogin" method="post">
    <input type="text" id="name" name="username" ><span id="nameMsg"></span><br>
    <input type="password" id="password" name="password"><span id="pwdMsg"></span><br>
    <input type="submit"><br>
    <input type="reset"><br>
</form>
<c:out value="${msg}"/>
</body>
</html>
